package cn.huobi.org.service;

import cn.huobi.org.domain.Shop;
import cn.huobi.basic.service.BaseService;
import cn.huobi.org.domain.ShopAuditLog;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huobi
 * @since 2022-10-15
 */
public interface ShopService extends BaseService<Shop> {

    // 店铺入驻
    void settlement(Shop shop);

    // 店铺审核通过
    void auditPass(ShopAuditLog shopAuditLog);

    // 店铺激活
    void active(Long id);

    // Echarts报表
    Map<String, Object> echarts();

    // 店铺驳回
    void auditReject(ShopAuditLog shopAuditLog);

    // 批量添加
    void addAll(List<Shop> shops);
}
